package lagou.homework.lagouhomework.Unit4.code.q1;

public class UpdateStu {
    public static void updateStu(int id, String name, int age, Student stu) {
        stu.setId(id);
        stu.setAge(age);
        stu.setName(name);
        System.out.println("修改成功!!!");
    }
}
